package org.jacp.demo.util;

import java.util.List;

public final class ImageCacheAction {
    private List<?> result = null;

    private final String path;



    private final ActionType type;

    public ImageCacheAction(final String path, final ActionType type) {
	this.path = path;
	this.type = type;
    }

    public ImageCacheAction(final String path, final ActionType type,
	    final List<?> result) {
	this.path = path;
	this.type = type;
	this.result = result;
    }

    public List<?> getResult() {
        return result;
    }

    public String getPath() {
        return path;
    }

    public ActionType getType() {
        return type;
    }

}
